package com.walnut.lom_system.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import lombok.*;
import org.springframework.boot.context.properties.ConstructorBinding;

/**
 * 记录每个用户的用户信息
 * @author chenhetao
 * @TableName user_info
 */
@TableName(value ="user_info")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserInfo implements Serializable {
    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    /**
     *
     */
    @TableField(value = "name")
    private String name;

    /**
     *
     */
    @TableField(value = "qq")
    private Long qq;

    /**
     *
     */
    @TableField(value = "class_no")
    private Integer classNo;

    /**
     *
     */
    @TableField(value = "user_sid")
    private Long userSid;

    /**
     *
     */
    @TableField(value = "phone")
    private Long phone;

    /**
     *
     */
    @TableField(value = "gender")
    private Integer gender;

    /**
     *
     */
    @TableField(value = "photo_url")
    private String photoUrl;

    /**
     *
     */
    @TableField(value = "birth")
    private Date birth;

    /**
     *
     */
    @TableField(value = "academy")
    private String academy;

    /**
     *
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     *
     */
    @TableField(value = "last_edit_time")
    private Date lastEditTime;

    /**
     * 0为正常,-1表示禁用
     */
    @TableField(value = "state")
    private Integer state;

    /**
     * 0：正常，-1：删除
     */
    @TableField(value = "deleted")
    private Integer deleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;



}